<!DOCTYPE html>
<html lang="zh-CN">
	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="renderer" content="webkit">
		<meta http-equiv="Cache-Control" content="no-transform" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<meta name="keywords" content="济南装修公司,旧房翻新,别墅装修,上门维修,家庭维修" />
		<meta name="description" content="德泰到家，继承德泰建设23年建筑装饰行业的优良基因，致力于家居局部装修及家庭维修服务。专注提升百姓家居体验，让生活多点讲究，少点将就" />
		<title>企业动态</title>
		<link rel="shortcut icon" href="images/favicon.ico" /> 

		<link href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" rel="stylesheet">
		<link rel="stylesheet" href="css/min.css">
		<link rel="stylesheet" href="css/service_category.css?v=0.01">
		<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.3.1/jquery.min.js"></script>

		<script src="js/min.js"></script>

		<!--[if lt IE 10]>
			<link rel="stylesheet" href="css/min.css">
			<link rel="stylesheet" href="css/ie.css">
			<link rel="stylesheet" href="css/minie9.css">
			<script src="https://js.easytransfer.cn/js/main/lib/vendor/html5shiv.js"></script>
			<script src="https://js.easytransfer.cn/js/main/lib/vendor/respond.min.js"></script>
			<script src="https://code.jquery.com/jquery-1.11.1.min.js"></script>
			<script src="js/min.js"></script>
		<![endif]-->

		<!--[if lt IE 9]>
			<link rel="stylesheet" href="css/min.css">
			<link rel="stylesheet" href="css/ie.css">
			<link rel="stylesheet" href="css/minie78.css">
			<script src="https://js.easytransfer.cn/js/main/lib/vendor/html5shiv.js"></script>
			<script src="https://js.easytransfer.cn/js/main/lib/vendor/respond.min.js"></script>
			<script src="https://code.jquery.com/jquery-1.11.1.min.js"></script>
			<script src="js/min.js"></script>
		<![endif]-->
		 <style>
		   
		</style>
	</head>
	<body class="business_movement">
		<!-- 头部导航 -->
		<div class="headerpage"></div>

		<div>
			<img class="hidden-xs banner" src="images/banner5.png" alt="">
			<img class="visible-xs-block banner" src="images/News_banner.png" alt="">
		</div>

		<div class="condition">
			<div class="top">
				<div>企业动态<span class="visible-xs-block visible-sm-block">/ENTERPRISE DYNAMIC</span></div>
				<span class="visible-lg-block visible-md-block">ENTERPRISE DYNAMIC</span>
			</div>
			<ul class="business_Box">
				<!-- //获取企业动态 -->
		<!-- 		<li>
					<img src="images/pc/qiye/qiye_banner_01.png" alt="">
					<div>
						<div>ty t t  </div>
						<span>sdfsd </span>
						<p>sdfgfrtge r r ter tewr terter       rtetfgrdddddddgarestgasgrdfdserfe serfewwep</p>
						<a href="javascript:;" class="visible-lg-block visible-md-block">查看详情</a>
					</div>
				</li> -->
			</ul>
			<!-- <nav aria-label="Page navigation">
				<ul class="pagination">
					<li class="">
						<a href="#" aria-label="Previous">
							<span aria-hidden="true">&laquo;</span>
						</a>
					</li>
					<li>
						<ul>

						</ul>
					</li>
					<li class="last">
						<a href="#" aria-label="Next">
							<span aria-hidden="true">&raquo;</span>
						</a>
					</li>
				</ul>
			</nav> -->


			<!-- <ul class="pagination">
				<li class="previous_page">
					<a href="#" >
						<span aria-hidden="true">&laquo;</span>		
					</a>
				</li>
				<li>
					<ul>
						
					</ul>
				</li>
				<li class="next_page">
					<a href="#" aria-label="Next">
						<span aria-hidden="true">&raquo;</span>
					</a>
				</li>
			</ul> -->
			<div id="page" class="page_div"></div>
		</div>
		 


		<!-- 底部关于我们 -->
		<div class="footer"></div>

		<!-- 预约服务-->
		<div class="appointment"></div>

		<!-- 侧边栏 -->
		<!-- <div class="sidebar visible-xs-block"> -->
		<div class="subscribeBox subscribeLelt visible-xs-block">
			<img src="images/yd/home/home_yuyue_icon.png" alt="">
		</div>
		<div class="sidebar visible-xs-block">
			<a href="#" >
				<img src="images/yd/home/home_top_icon.png" alt="">
			</a>
		</div>
		<!-- </div> -->
		<div class="returnBox visible-lg-block visible-md-block">
			<a href="#">
				<img src="images/youce_jiantou.png" alt="" class="showWx1">
				<img src="images/youce_jiantou2.png" alt="" class="showWx2">
			</a>
			<div class="center">
				<span>400-6169-716</span>
				<img src="images/youce_dianhua.png" >
			</div>
			<div class="bom">
				<span>微信公众号</span>
				<img src="images/youce_weixin.png" >
				<div>
					<img src="images/head_erweima.png" >
				</div>
			</div>
		</div>
		

	</body>
	<script src="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/js/bootstrap.min.js"></script>
	<script src="js/min.js"></script>
		
	<script src="js/service_category.js"></script>
	<script type="text/javascript" src="js/pageMe.js"></script>
	<script type="text/javascript">
		var nowPage = 1; //页数
		var num_pages;  //总页数
		//分页获取所有企业动态
		AllMovement(nowPage);
		//分页获取所有企业动态
		function AllMovement(nowPage) {
			$.ajax({
				type: 'GET',
				url: urlBox+'/api/website/AllMovement/',
				data: {
					page: nowPage,
					size: 8,
				},
				dataType: 'json',
				success: function(data) {
					var case_list = data.movement_list;
					console.log(case_list)
					for (var i = 0; i < case_list.length; i++) {
						var divs = $('<li movement_id='+case_list[i].id+'>'+
							'<img src="'+urlBox+case_list[i].article_banner+'" alt="">'+
							'<div>'+
								'<div>'+case_list[i].title+'</div>'+
								'<span class="visible-xs-block">'+case_list[i].create_time+'</span>'+
								'<p>'+case_list[i].movement_intro+'</p>'+
								'<span  class="hidden-xs">'+case_list[i].create_time+'</span>'+
								'<a href="dynamic_details.html?movement_id='+case_list[i].id+'" class="hidden-xs">详情</a>'+
							'</div>'+
						'</li>')
						$(".business_Box").append(divs);
					}
					num_pages = data.num_pages;
					num_pagesBox(num_pages,nowPage);
					$('.business_Box li').click(function() {
						var movement_id = $(this).attr("movement_id")
						window.location.replace("dynamic_details.html?movement_id="+movement_id);
					})
					var h = $('.business_Box li').height();
					var len = $('.business_Box li').length;
					// console.log(h,len)
					// $('.business_Box').css({"height":h*len+40*len+'px'});
				},
			})
		}
		
		function num_pagesBox(num_pages,nowPage){
			$("#page").paging({
			    pageNum: nowPage, // 当前页面
			    totalNum: num_pages, // 总页码
			    callback: function (num) { //回调函数
					$(".business_Box").empty();
					AllMovement(num);
			    }
			});
		}
		
	</script>
</html>